Repository navigation
test(pm-stack): get the scheduled tests green: directory order in the claimant suite, and the Reports page's tier - #12936
Merged
Merged
Conversation
…rd to directory order The scheduled pm-stack tests have failed every night since at least 2026-11-20 in "Test claimant install bun suite": three tests in test/install.test.mjs compare readdir() with a list in a fixed order, and the runner's filesystem lists the two entries the other way round (received ["explicit-store.json", ".config"]). A directory has no order to rely on. What the assertion means is which entries exist, so both sides are sorted. Because the step failed, every later step of that job was skipped each night: the external-comms, usage-export, cloudflare-export, meta-exporter, watchdog-state and decision-events-worker suites have not run on schedule since. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 seconds. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…sion table #12491 added the Reports page to the manifest at dropdown tier without its row in the decision table that the curation test checks the manifest against, so "every manifest page carries its recorded tier" has failed on main since (seen on the run of this branch, where the aggregator suite now fails before the claimant suite is reached). The page entered at dropdown tier, as new pages do without a ruling that promotes them; the row says so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scheduled
pm-stack testsrun has failed every night since at least 2026-11-20 (last scheduled run). Two things were wrong; with both fixed the whole job passes on the runner (run on this branch).1. The claimant install suite compared a directory listing in a fixed order
Three tests in
pm-stack/opencode-claimant/test/install.test.mjscomparereaddir()with a list in a fixed order. The runner's filesystem lists the two entries the other way round:A directory has no order to rely on, and the assertion is about which entries exist. Both sides are now sorted.
Because that step failed, every later step of the job was skipped each night: the external-comms, usage-export, cloudflare-export, meta-exporter, watchdog-state and decision-events-worker suites had not run on schedule since.
2. The aggregator's decision table did not know the Reports page
#12491 added the Reports page to the manifest (at dropdown tier) without its row in the #1497 decision table that
curation-1497.test.tschecks the manifest against, so the aggregator suite has failed onmainsince yesterday evening. The row is added, at dropdown tier, as the page entered.Checked
https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
Generated by Claude Code